package mudus;

public class GlobalSettings {
    
    public static final int GATEWAY_PORT = 2004;
    
    public static final String REPO_PATH = "/home/hilman/Desktop/repo";
    
    public static final String DB_URL = "jdbc:mysql://localhost/mudus?user=progin&password=progin";
    
    public static final String LOGFILE_PATH = "/home/hilman/Desktop/logfile";
    
    public static final int PIECE_LENGTH = 15360; // 16 KB
    
    public static final int DISCONNECT = 0;
    
    public static final int REQUEST_METAFILE = 1;
    
    public static final int REQUEST_FILEPIECE = 2; 
    
    public static final int END_REQUEST_FILEPIECE = 3;
    
    public static final int START_UPLOAD_FILE = 4;
    
    public static final int UPLOAD_FILEPIECE = 5;

    public static final int END_UPLOAD_FILE = 6;
    
    public static final int REQUEST_METALOGFILE = 7;        
    
    public static final int REQUEST_LOGFILEPIECE = 8;
    
    public static final int END_REQUEST_LOGFILEPIECE = 9;
    
    public static final int REQUEST_DELETE_ON_SERVER = 10;
    
    public static final int REQUEST_DELETE_ON_CLIENT = 11;
}
